package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单统计对象 order_statistics
 * 
 * @author ruoyi
 * @date 2025-08-08
 */
public class OrderStatistics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 区县名称 */
    @Excel(name = "区县")
    private String districtName;

    /** 维修订单数 */
    @Excel(name = "维修订单")
    private Integer repairOrders;

    /** 保养订单数 */
    @Excel(name = "保养订单")
    private Integer maintenanceOrders;

    /** 洗车订单数 */
    @Excel(name = "洗车订单")
    private Integer carwashOrders;

    /** 总订单数 */
    @Excel(name = "总计")
    private Integer totalOrders;

    /** 统计日期 */
    @Excel(name = "统计日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String statisticsDate;

    public void setDistrictName(String districtName) 
    {
        this.districtName = districtName;
    }

    public String getDistrictName() 
    {
        return districtName;
    }

    public void setRepairOrders(Integer repairOrders) 
    {
        this.repairOrders = repairOrders;
    }

    public Integer getRepairOrders() 
    {
        return repairOrders;
    }

    public void setMaintenanceOrders(Integer maintenanceOrders) 
    {
        this.maintenanceOrders = maintenanceOrders;
    }

    public Integer getMaintenanceOrders() 
    {
        return maintenanceOrders;
    }

    public void setCarwashOrders(Integer carwashOrders) 
    {
        this.carwashOrders = carwashOrders;
    }

    public Integer getCarwashOrders() 
    {
        return carwashOrders;
    }

    public void setTotalOrders(Integer totalOrders) 
    {
        this.totalOrders = totalOrders;
    }

    public Integer getTotalOrders() 
    {
        return totalOrders;
    }

    public void setStatisticsDate(String statisticsDate) 
    {
        this.statisticsDate = statisticsDate;
    }

    public String getStatisticsDate() 
    {
        return statisticsDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("districtName", getDistrictName())
            .append("repairOrders", getRepairOrders())
            .append("maintenanceOrders", getMaintenanceOrders())
            .append("carwashOrders", getCarwashOrders())
            .append("totalOrders", getTotalOrders())
            .append("statisticsDate", getStatisticsDate())
            .append("createTime", getCreateTime())
            .toString();
    }
}
